<template>
    <div class="CarouselComponent">
      <el-carousel :autoplay="false" indicator-position="outside">
        <el-carousel-item v-for="item in 4" :key="item">
          <div class="bgSplicing">
            <div class="bgFloor"></div>
            {{item}}
          </div>
        </el-carousel-item>
      </el-carousel>
    </div>
</template>

<script>
  export default {
    name: "CarouselComponent",
    data() {
      return {
        a: 0,
      }
    },
    methods: {

    },
    mounted() {

    },
    created() {

    }
  }
</script>

<style lang="scss">
  .CarouselComponent {
    .el-carousel__item {
      .bgSplicing {
        width: 100%;
        height:100%;
        background-color: rgba(52,194,166,0.85);
        position: relative;
        z-index: 1;
        transform: rotate(-0.1deg);
        -webkit-transform: rotate(-0.1deg);
        .bgFloor {
          top: -1.95rem;
          right: 0;
          width: 98rem;
          height: 28.25rem;
          background: rgba(255,255,255,.7);
          border-radius: 40%;
          position: absolute;
        }
      }
    }
  }

</style>
